import { createApp } from "vue";
import "./style/global.scss";
import App from "./App.vue";
import router from "./router";
// import animate from "animate.css";
import "animate.css";
import EmojiUI from "./components/index";

// 把 emojiMap 挂到 Vue app 级全局 provide，整个应用只保留一份：
import { emojiMap } from '@/components/Emo-Icon/EmojiList';

const app = createApp(App);
app.use(router);
app.use(EmojiUI);
app.provide('emojiMap', emojiMap);
app.mount("#app");
